package com.examination.api.administrator;

import com.examination.framework.model.response.ResponseResult;
import com.examination.system.administration.CollegeMajorClassification;
import com.examination.system.administration.ext.CollegeMajorClassificationNode;
import com.examination.system.administration.response.AddAdministrationResult;
import com.examination.system.administration.response.DeleteAdministrationResult;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * @author 寇淇芮
 * @Date 2019/8/18 12:46
 */
@Api(value = "学院管理",description="学院管理专业分类管理")
public interface CollegeMajorClassificationControllerApi {

    @ApiOperation(value = "根据id添加节点")
    AddAdministrationResult addCollegeMajorClassification(String id,CollegeMajorClassification collegeMajorClassification);
    @ApiOperation(value ="查询所有的学院的节点")
    List<CollegeMajorClassificationNode> findCollegeMajorClassificationList();

    @ApiOperation(value = "更新院系的节点")
    ResponseResult editCollegeMajorClassificationById(String id, CollegeMajorClassification collegeMajorClassification);

    @ApiOperation(value = "删除节点")
    DeleteAdministrationResult removeCollegeMajorClassification(String id);
}
